package com.alibaba.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * @author ZhouYaDong
 * @date 2025/9/25
 * @description
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Article {

    /**
     * 主键ID，数据库自增
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 文章标题
     */
    private String title;

    /**
     * 文章浏览量统计
     */
    private Long viewCount;

}
